import { createRouter, createWebHashHistory } from 'vue-router'

const router = createRouter({
	history: createWebHashHistory(),
	routes: [
		//首页
		{ name: 'index', path: '/', component: () => import('../pages/index.vue') },
		//综合站点
		{ name: 'site', path: '/site', component: () => import('../pages/site.vue') },
		//资源商店
		{ name: 'store', path: '/store', component: () => import('../pages/store.vue') },
		//激活码
		{ name: 'code', path: '/code', component: () => import('../pages/code.vue') },
		//AI助手
		{ name: 'spark', path: '/spark', component: () => import('../pages/spark.vue') },
	]
})

export default router
